Method and apparatus with pose estimation

ABSTRACT

A processor-implemented method with pose estimation includes: tracking a position of a feature point extracted from image information comprising a plurality of image frames, the image information being received from an image sensor; predicting a current state variable of an estimation model for determining a pose of an electronic device, based on motion information received from a motion sensor; determining noise due to an uncertainty of the estimation model based on a residual between a first position of the feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable; updating the current state variable based on the current state variable, the tracked position of the feature point, and the noise; and determining the pose of the electronic device based on the updated current state variable.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit under 35 USC § 119(a) of Korean Patent Application No. 10-2021-0100131, filed on Jul. 29, 2021 in the Korean Intellectual Property Office, the entire disclosure of which is incorporated herein by reference for all purposes.

BACKGROUND 1. Field

The following description relates to a method and apparatus with pose estimation.

2. Description of Related Art

Certain electronic devices may implement virtual reality (VR), augmented reality (AR), or mixed reality (MR). Among them, the AR is a display technology that may combine and display virtual objects or information on an environment of the real world. The AR may be variously used in, for example, a ubiquitous environment or an Internet of things (IoT) environment. The AR may deliver a variety of information more realistically to a user through a combination of an external view and a virtual image.

SUMMARY

This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

In one general aspect, a processor-implemented method with pose estimation includes: tracking a position of a feature point extracted from image information comprising a plurality of image frames, the image information being received from an image sensor; predicting a current state variable of an estimation model for determining a pose of an electronic device, based on motion information received from a motion sensor; determining noise due to an uncertainty of the estimation model based on a residual between a first position of the feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable; updating the current state variable based on the current state variable, the tracked position of the feature point, and the noise; and determining the pose of the electronic device based on the updated current state variable.

The determining of the noise may include: determining the residual between the first position of the feature point extracted from a current image frame among the image frames and the second position of the feature point predicted based on the current state variable; and determining the noise due to the uncertainty of the estimation model based on the residual.

The determining of the noise may include determining the noise by expressing, as a sum of a ground-truth and an error, the residual between the first position of the feature point extracted from the current image frame and the second position of the feature point predicted based on the current state variable.

The determining of the noise may include determining the noise by approximating a result of expressing the residual as the sum of the ground-truth and the error, using a tuning parameter of the estimation model.

The uncertainty of the estimation model may be determined using an estimation covariance according to a simultaneous localization and mapping (SLAM) technique based on an extended Kalman filter.

The predicting of the current state variable may include predicting, based on the motion information and a previous state variable corresponding to a previous image frame among the image frames, an error covariance of the previous state variable and the current state variable corresponding to a current image frame among the image frames.

The updating of the current state variable may include updating the current state variable based on the current state variable, the error covariance of the previous state variable, the tracked position of the feature point, and the noise.

The tracking of the position of the feature point may include: extracting a second feature point included in a current image frame among the image frames; and tracking a position of the second feature point through matching between a first feature point extracted from a previous image frame before the current image frame among the image frames and the second feature point.

The estimation model may include an estimation model using a filter-based visual-inertial odometry (VIO).

The electronic device may include either one or both of: a wearable device comprising a smart glass; and a head-mounted device (HMD) comprising any one or any combination of any two or more of an augmented reality (AR) device, a virtual reality (VR) device, and a mixed reality (MR) device.

In another general aspect, one or more embodiments include a non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors, configure the one or more processors to perform any one, any combination, or all operations and methods described herein.

In another general aspect, an apparatus with pose estimation includes: an image sensor configured to sense image information comprising a plurality of image frames; a motion sensor configured to sense motion information of an electronic device; and one or more processors configured to: track a feature point by extracting the feature point from the image information; predict a current state variable of an estimation model for determining a pose of the electronic device based on the motion information; determine noise due to an uncertainty of the estimation model based on a residual between a first position of the feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable; update the current state variable based on the current state variable, a position of the tracked feature point, and the noise; and determine the pose of the electronic device based on the updated current state variable.

For the determining of the noise, the one or more processors may be configured to: determine the residual between the first position of the feature point extracted from a current image frame among the image frames and the second position of the feature point predicted based on the current state variable; and determine the noise due to the uncertainty of the estimation model based on the residual.

For the determining of the noise, the one or more processors may be configured to determine the noise by expressing, as a sum of a ground-truth and an error, the residual between the first position of the feature point extracted from the current image frame and the second position of the feature point predicted based on the current state variable.

For the determining of the noise, the one or more processors may be configured to determine the noise by approximating a result of expressing the residual as the sum of the ground-truth and the error, using a tuning parameter of the estimation model.

The uncertainty of the estimation model may be determined using an estimation covariance according to a simultaneous localization and mapping (SLAM) technique based on an extended Kalman filter.

For the predicting of the current state variable, the one or more processors may be configured to predict, based on the motion information and a previous state variable corresponding to a previous image frame among the image frames, an error covariance of the previous state variable and the current state variable corresponding to a current image frame among the image frames.

For the updating of the current state variable, the one or more processors may be configured to update the current state variable based on the current state variable, the error covariance of the previous state variable, the position of the tracked feature point, and the noise.

For the tracking of the position of the feature point, the one or more processors may be configured to: extract a second feature point included in a current image frame among the image frames; and track a position of the second feature point through matching between a first feature point extracted from a previous image frame before the current image frame among the image frames and the second feature point.

The estimation model may include an estimation model using a filter-based visual-inertial odometry (VIO).

The electronic device may include either one or both of: a wearable device comprising a smart glass; and a head-mounted device (HMD) comprising any one or any combination of any two or more of an augmented reality (AR) device, a virtual reality (VR) device, and a mixed reality (MR) device.

In another general aspect, a wearable electronic device includes: an image sensor configured to sense image information comprising a plurality of image frames; a motion sensor configured to sense motion information of the wearable electronic device; one or more processors configured to: track a feature point by extracting the feature point from the image information; predict a current state variable of an estimation model for determining a pose of the wearable electronic device based on the motion information; determine noise due to an uncertainty of the estimation model based on a residual between a first position of the feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable; update the current state variable based on the current state variable, a position of the tracked feature point, and the noise; determine the pose of the wearable electronic device based on the updated current state variable; and generate virtual content based on the determined pose; and a display configured to display the virtual content.

In another general aspect, a processor-implemented method with pose estimation includes: predicting a current state variable of an estimation model for determining a pose of an electronic device; determining noise due to an uncertainty of the estimation model based on a residual between a first position of a feature point extracted from image frames and a second position of the feature point predicted based on the current state variable; updating the current state variable based on the noise; and determining the pose of the electronic device based on the updated current state variable.

The current state variable may include a state variable corresponding to a motion sensor and a state variable corresponding to an image sensor.

The state variable corresponding to the motion sensor may include any one or any combination of any two or more of an orientation error of an image frame among the image frames, a bias error of the motion sensor, a velocity error, an acceleration bias error, and a position error.

The state variable corresponding to the image sensor may include an error of a position of a feature point viewed at an image frame of the image frames.

Other features and aspects will be apparent from the following detailed description, the drawings, and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1 and 2 are diagrams illustrating examples of an overview of an electronic device that provides an augmented reality (AR).

FIG. 3 is a diagram illustrating an example of a method of estimating a pose.

FIG. 4 is a diagram illustrating an example of an operation of a pose estimation apparatus.

FIG. 5 is a flowchart illustrating an example of a method of estimating a pose.

FIG. 6 is a flowchart illustrating an example of a method of determining noise.

FIG. 7 is a flowchart illustrating an example of a method of estimating a pose.

FIG. 8 is a block diagram illustrating an example of a pose estimation apparatus.

Throughout the drawings and the detailed description, unless otherwise described or provided, the same drawing reference numerals will be understood to refer to the same elements, features, and structures. The drawings may not be to scale, and the relative size, proportions, and depiction of elements in the drawings may be exaggerated for clarity, illustration, and convenience.

DETAILED DESCRIPTION

The following detailed description is provided to assist the reader in gaining a comprehensive understanding of the methods, apparatuses, and/or systems described herein. However, various changes, modifications, and equivalents of the methods, apparatuses, and/or systems described herein will be apparent after an understanding of the disclosure of this application. For example, the sequences of operations described herein are merely examples, and are not limited to those set forth herein, but may be changed as will be apparent after an understanding of the disclosure of this application, with the exception of operations necessarily occurring in a certain order. Also, descriptions of features that are known, after an understanding of the disclosure of this application, may be omitted for increased clarity and conciseness.

Although terms of “first” or “second” are used herein to describe various members, components, regions, layers, or sections, these members, components, regions, layers, or sections are not to be limited by these terms. Rather, these terms are only used to distinguish one member, component, region, layer, or section from another member, component, region, layer, or section. Thus, a first member, component, region, layer, or section referred to in examples described herein may also be referred to as a second member, component, region, layer, or section without departing from the teachings of the examples.

Throughout the specification, when an element, such as a layer, region, or substrate, is described as being “on,” “connected to,” or “coupled to” another element, it may be directly “on,” “connected to,” or “coupled to” the other element, or there may be one or more other elements intervening therebetween. In contrast, when an element is described as being “directly on,” “directly connected to,” or “directly coupled to” another element, there can be no other elements intervening therebetween. Likewise, expressions, for example, “between” and “immediately between” and “adjacent to” and “immediately adjacent to” may also be construed as described in the foregoing.

The terminology used herein is for the purpose of describing particular examples only, and is not to be used to limit the disclosure. As used herein, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. As used herein, the term “and/or” includes any one and any combination of any two or more of the associated listed items. It should be further understood that the terms “comprises,” “includes,” and “has” specify the presence of stated features, numbers, integers, steps, operations, elements, components, and/or combinations thereof, but do not preclude the presence or addition of one or more other features, numbers, integers, steps, operations, elements, components, and/or combinations thereof. The use of the term “may” herein with respect to an example or embodiment (for example, as to what an example or embodiment may include or implement) means that at least one example or embodiment exists where such a feature is included or implemented, while all examples are not limited thereto.

Unless otherwise defined, all terms including technical or scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which e this disclosure pertains and based on an understanding of the disclosure of the present application. It will be further understood that terms, such as those defined in commonly-used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the disclosure of the present application, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

Hereinafter, examples will be described in detail with reference to the accompanying drawings. Regarding the reference numerals assigned to the elements in the drawings, it should be noted that the same elements will be designated by the same reference numerals, and redundant descriptions thereof will be omitted.

FIGS. 1 and 2 are diagrams illustrating examples of an overview of an electronic device that provides an augmented reality (AR).

Referring to FIG. 1 , an electronic device 110 is a device that provides an AR service to a user 100. The AR service is a service that may superimpose a virtual image or virtual content on an image or view of a real world viewed by the user 100. The electronic device 110 may use a display 115 to provide the user 100 with a virtual image (e.g., a virtual object 220 of FIG. 2 ) including content related to a real object 120 of the real world together with the real object 120 of the real world. The virtual image viewed by the user 100 may be a two-dimensional (2D) image or a three-dimensional (3D) image. In addition, the virtual image may be a static image without movement or a dynamic image with movement such as animation. The electronic device 110 may be a wearable device to be worn on the user 100. The electronic device 110 may be, for example, a wearable electronic device such as a head-mounted display (HMD) including a smart glass, a virtual reality (VR) headset, and/or an AR headset and a face-mounted display (FMD), but is not limited thereto.

FIG. 2 illustrates an example of AR content 210 provided through the display 115 of the electronic device 110. For ease of description, the following description will be made based on an example in which virtual content provided by the electronic device 110 is the AR content 210, and this does not preclude the provision of VR content and/or MR content.

The electronic device 110 may create (e.g., generate) the AR content 210 by matching a virtual object 220 including virtual information and the real object 120 of the real world viewed by the user 100. The AR content 210 may be, for example, a replication of a realistic virtual object from the real object 120 of the real world, and/or an implementation of a virtual computer graphic effect on the real object 120 of the real world. The virtual computer graphic effect may be, for example, a virtual image obtained by implementing, on a real mechanical device, additional information such as a user manual and/or additional content such as a virtual character explaining the user manual, but is not limited thereto.

For example, when the user 100 moves a head or a line of sight, a gaze direction of the user 100 looking at the real object 120 may change. The electronic device 110 may precisely adjust the virtual object 220 according to a change in the gaze direction, thereby providing the AR content 210 to the user 100 with high precision. The electronic device 110 may match the real object 120 and the virtual object 220 naturally by precisely measuring the change in the gaze direction. The electronic device 110 may realistically implement the AR content 210 by expressing the virtual object 220 at the exact position corresponding to the real object 120 in a scene that the user 100 gazes the real object 120.

The electronic device 110 may perform the below-described pose estimation method by itself (for example, the electronic device may be or include a pose estimation apparatus 800 of FIG. 8 ), or may receive a pose estimated (e.g., determined) by a pose estimation apparatus (for example, the pose estimation apparatus 800 of FIG. 8 ). The pose estimation apparatus may perform localization of the electronic device 110. A result of the localization of the electronic device 110 may be used to estimate a head movement of the user 100 or the gaze direction of the user 100. A pose of the electronic device 110 determined by the pose estimation apparatus may include information on a position and an orientation of the electronic device 110. The pose of the electronic device 110 may be represented based on, for example, six degrees of freedom (6DoF), as a non-limiting example. The pose of the electronic device 110 may correspond to a pose of the user 100 wearing the electronic device 110 or a pose of an image sensor (e.g., a camera) included in the electronic device 110.

The pose estimation apparatus may determine the pose of the electronic device 110 using image information (e.g., image frames 301 of FIG. 3 ) acquired by an image sensor and motion information (e.g., inertial measurement unit (IMU) sensor data) acquired by a motion sensor. By using the image information and the motion information together to determine the pose of the electronic device 110, the pose estimation apparatus of one or more embodiments may determine the pose of the electronic device 110 with increased accuracy and effectiveness, compared to a typical pose estimation apparatus that may estimate the pose using either one but not both of the image information and the motion information. The image sensor and the motion sensor may be included in the electronic device 110. The image sensor may acquire the image information by capturing at least a partial area (e.g., a front area of the user 100) of an ambient or surrounding area of the electronic device 110. The motion sensor may measure a movement of the electronic device 110 or the user 100. The motion sensor may include, for example, an IMU including an acceleration sensor and a gyro sensor, but is not limited thereto.

The pose estimation apparatus may extract feature points 232, 233, 234, 235, 236, 237, and 238 of the real object 120 from image information obtained by capturing the real object 120. Also, the pose estimation apparatus may track positions of feature points through mapping between the extracted feature points 232, 233, 234, 235, 236, 237, and 238 and reference feature points of the real object 120 defined or determined in advance as priori information. The priori information may include 3D coordinate information of reference feature points on a surface of the real object 120 making a reference pose. The “feature point” may also be referred to as a “landmark.”

The pose estimation apparatus may predict a state variable of an estimation model estimating a position of a feature point(s) by applying a motion made in a period of time from previous to present to a position of the electronic device 110 corresponding to the previous time.

FIG. 3 is a diagram illustrating an example of a method of estimating a pose. FIG. 3 illustrates a configuration for a pose estimation apparatus to estimate a pose using a simultaneous localization and mapping (SLAM) technique based on a visual-inertial odometry (VIO).

The VIO may correspond to technology for estimating position, velocity, and/or orientation values of a corresponding device by fusing image information (e.g., image frames 301) acquired through an image sensor such as a camera and motion information (e.g., IMU sensor data 303) acquired by an IMU sensor. The “image information” may correspond to an image acquired from an image sensor such as a camera. The camera may detect a relatively accurate motion at a slow movement in contrast to the IMU sensor. The “motion information” may correspond to information obtained by measuring a motion applied to the IMU sensor. For example, the motion information may include force, acceleration, and/or rotation applied from an accelerometer and a gyroscope in the IMU to a corresponding device.

The SLAM may correspond to technology for estimating a position by performing localization and mapping simultaneously. The SLAM may use the VIO that uses both image information and motion information as an element technology.

The VIO may be used when the localization that estimates a position in real time is performed in the SLAM.

A VIO-based SLAM used in the pose estimation apparatus may include two parts, for example, a front-end 310 and a back-end 330.

At the front-end 310, the pose estimation apparatus may extract a feature point from image information (e.g., the image frames 301) as indicated by a block 312. The “feature point” may indicate a point having a distinctive color or brightness change in the image frames 301 so that an overall image characteristic is represented. As indicated by a block 314, at the front-end 310, the pose estimation apparatus may track the same feature point through matching between feature points in the image frames 301 captured consecutively. Information obtained by tracking the matching feature points may be used to estimate a pose (e.g., of the electronic device 110) by the pose estimation apparatus at the back-end 330.

At the back-end 330, the pose estimation apparatus may estimate a current position of a feature point based on the matching feature points received from the front-end 310 and the motion information (e.g., the IMU sensor data 303) acquired by the IMU sensor, as indicated by a block 332. Also, the pose estimation apparatus may estimate the pose based on the estimated current position of the feature point as indicated by a block 334. The pose estimation apparatus may output the estimated pose in real time as indicated by reference numeral 350.

At the back-end 330, the pose estimation apparatus may estimate the pose based on an estimation model using the motion information and feature points found in a previous image frame and a current image frame for each image frame by a recursive filter scheme. As the estimation model, various estimation models based on a Kalman filter, for example, an extended Kalman filter (EKF), an unscented Kalman filter (UKF), and/or an extended information filter (EIF) may be used. For ease of description, the following description will be made based on an operation of an EKF-based estimation model, and this is merely an example. The Kalman filter may estimate a pose by repetitively performing a state prediction and a measurement update. The EKF may correspond to a scheme of using the Kalman filter by extending the Kalman filter to a nonlinear model.

The pose estimation apparatus of one or more embodiments may increase an operation efficiency using the filter-based VIO that estimates a pose repetitively for each frame. Thus, the pose estimation apparatus of one or more embodiments may more accurately estimate a position even in the AR and VR devices that may be limited to a small amount of computational operation.

FIG. 4 is a diagram illustrating an example of an operation of a pose estimation apparatus. Referring to FIG. 4 , a pose estimation apparatus 400 may include an image sensor 401, a motion sensor 403, a feature point extracting and tracking part 410, a motion information acquirer 420, a state predictor 430, a measurement updater 440, and a model uncertainty calculator 450.

The feature point extracting and tracking part 410 and the motion information acquirer 420 may correspond to the front-end 310. The motion information acquirer 420, the state predictor 430, the measurement updater 440, and the model uncertainty calculator 450 may correspond to the back-end 330.

The pose estimation apparatus 400 may estimate a pose through, for example, a state prediction and a measurement update performed by an estimation model using a filter-based VIO. As inaccuracy of the estimation model increases, a pose estimation accuracy may decrease.

The pose estimation apparatus 400 of one or more embodiments may prevent the decrease of the pose estimation accuracy by accounting for an uncertainty of the estimation model.

The pose estimation apparatus 400 may receive image information (e.g., image frames) captured by the image sensor 401 and inertial sensor information sensed by the motion sensor 403.

The feature point extracting and tracking part 410 may extract at least one feature point from image information (e.g., a current image frame) and match the feature point extracted from the current image frame and a feature point extracted from a previous image frame, thereby tracking the feature point of the current image frame.

The motion information acquirer 420 may acquire the inertial sensor information sensed by the motion sensor 403 as motion information.

The motion information acquired by the motion information acquirer 420 may be used in the state predictor 430, and information on the feature point tracked by the feature point extracting and tracking part 410 may be used in the measurement updater 440.

The estimation model according to the filter-based VIO may include the state predictor 430 and the measurement updater 440.

The measurement updater 440 may update a measurement (e.g., a position (e.g., a current position) of the feature point) based on the information on the feature point tracked by the feature point extracting and tracking part 410 and the estimation model. The estimation model may be associated with a 3D position of the feature point being tracked and thus, may include an error. In an example, the pose estimation apparatus 400 of one or more embodiments may calculate and reflect the uncertainty of the estimation model when updating the measurement, thereby improving a performance of the estimation model and the pose estimation apparatus 400.

The pose estimation apparatus 400 may set numerous elements used for estimating a pose of the electronic device to be state variables of the estimation model and perform estimation in real time.

For example, a state variable x_(I) related to the motion sensor 403 may be expressed as shown in Equation 1 below, for example.

x _(I) =ϵ δb _(g) δv δb _(a) δp)  Equation 1:

In Equation 1, ϵ denotes an orientation error of a corresponding image frame compared to a reference image frame and δb_(g) denotes a bias error of a gyro sensor. In addition, δv denotes a velocity error, δb_(a) denotes an acceleration bias error, and δp denotes a position error.

In certain non-limiting examples, the state variable x_(I) related to the motion sensor 403 may further include an extrinsic parameter between the image sensor 401 and the motion sensor 403, an acceleration, a gyro scale factor, and the like. In addition, in certain non-limiting examples, a 3D position error of the feature point may also be included in the state variable x_(I) related to the motion sensor 403.

In an example, a position error of the feature point viewed at the image frame acquired by the image sensor 401 may be estimated as a state variable x_(F) related to the image sensor 401 or the image frame as shown in Equation 2 below, for example.

x _(F)=(δ^(c) p _(f) ₁ δ^(c) p _(f) ₂ . . . δ^(c) p _(f) _(N) )  Equation 2:

In Equation 2, δ^(c)p_(f) _(N) may correspond to an error of a position of an N-th feature point viewed at an image frame captured by a camera.

$\begin{matrix} {{\,^{c}p_{f_{j}}} = \begin{bmatrix} {\,^{c}X_{j}} \\ {\,^{c}Y_{j}} \\ {\,^{c}Z_{j}} \end{bmatrix}^{T}} & {{Equation}3} \end{matrix}$

In Equation 3, ^(c)p_(f) _(j) may correspond to a position of a j-th feature point viewed at an image frame captured by the camera, and ^(c)X_(j), ^(c)Y_(j), and ^(c)Z_(j) may correspond to 3D position coordinates (x, y, z) of the j-th feature point viewed at the image frame.

An overall state variable x of the estimation model may be expressed as shown in Equation 4 below, for example, and estimated values may be changed by a state variable according to a filter design.

x=(x _(I) x _(F))^(T)  Equation 4:

The pose estimation apparatus 400 may estimate a pose based on a probabilistic model, for example, a filter-based estimation model. An operation of the filter-based estimation model may be divided into a state prediction and a measurement update.

The state predictor 430 may predict a current state variable and a probability distribution (e.g., an estimation covariance of a previous state variable) through an input (e.g., a position, a velocity, an orientation, etc.) of the motion sensor 403 and values being estimated.

The state predictor 430 may update the current state variable predicted based on the previous state variable estimated based on the previous image frame. The estimation model may remove an error based on a feedback structure when updating a measurement (e.g., a position of a feature point). Thus, the state predictor 430 may perform a prediction on a probability distribution without performing an update for an error value.

For example, the state predictor 430 may predict the current state variable through Equation 5 below, for example.

P _(k+1)=Φ_(k) P _(k)Φ_(k) ^(T) +Q _(k)  Equation 5:

In Equation 5, P_(k) denotes an error covariance of a state variable at a point in time k, Φ_(k) denotes a system model (an estimation model), and Q_(k) may correspond to system noise. The system noise Q_(k) may be determined by an error characteristic of the motion sensor (e.g., the IMU sensor).

The measurement updater 440 may estimate the current state variable using information on a feature point extracted from a current image frame and an error covariance of previous state information predicted by the state predictor 430.

The measurement updater 440 may update the current state variable by reflecting a difference r between an actual measurement (a position of the feature point) and a measurement (a position of the feature point) predicted based on the previous state variable estimated based on the previous image frame. At this time, a residual r corresponding to the difference between the actual measurement and the predicted measurement may be expressed as shown in Equation 6 below, for example.

r=Hx+v  Equation 6:

In Equation 6, H denotes an estimation model and v denotes measurement noise (or error).

In an example, an error due to an uncertainty of the estimation model may be taken into consideration as the measurement noise, that is, noise of the measurement.

A residual r corresponding to a difference between the predicted measurement and the actual measurement may be expressed as shown in Equation 7 below, for example. For example, when using a measurement for the j-th feature point, an actual position z _(j) of the j-th feature point measured through the image sensor and a predicted position {circumflex over (z)}_(j) of the j-th feature point may be differentiated as shown in Equation 7. In the following equations, a symbol   denotes an actually measured value and a symbol {circumflex over ( )} denotes an estimated value. In addition, when a symbol δ is included, a corresponding value may be an error. Also, when no symbol is included, a corresponding value may be a ground truth.

r _(j) =z _(j) −{circumflex over (z)} _(j)  Equation 7:

In Equation 7, the actual measurement z _(j) may correspond to, for example, a depth-directional position of the feature point measured on a plane having a focal length of 1 in a pinhole camera model. In addition, the predicted measurement {circumflex over (z)}_(j) may be obtained using a position ^(c)p_(f) _(j) of the j-th feature point viewed at an image frame captured by a camera.

Further, the actual position z _(j) of the j-th feature point measured by the image sensor or the like may be expressed as shown in Equation 8. Also, the predicted depth-directional position {circumflex over (z)}_(j) of the j-th feature point may be expressed as shown in Equation 9 below, for example.

$\begin{matrix} {{\overset{\_}{Z}}_{j} = \begin{bmatrix} {\overset{\_}{u}}_{j} \\ {\overset{\_}{v}}_{j} \end{bmatrix}} & {{Equation}8} \end{matrix}$

In Equation 8, ū_(j) may correspond to an actual position of the j-th feature point on a U axis of an image and v _(j) may correspond to an actual position of the j-th feature point on a V axis of the image. The U axis may correspond to, for example, an X axis, and the V axis may correspond to, for example, a Y axis.

$\begin{matrix} {{\hat{Z}}_{j} = {\frac{1}{\,^{c}{\hat{Z}}_{j}}\begin{bmatrix} {\,^{c}{\hat{X}}_{j}} \\ {\,^{c}{\hat{Y}}_{j}} \end{bmatrix}}} & {{Equation}9} \end{matrix}$

In Equation 9, ^(c){circumflex over (X)}_(j), ^(c)Ŷ_(j), and ^(c){circumflex over (Z)}_(j) may correspond to estimated 3D position coordinates (x, y, z) of the j-th feature point viewed at an image frame captured by an image sensor such as a camera.

First, an actual measured position ū_(j) of the j-th feature point on the U axis, which is represented in Equation 8, may be expressed as a sum of a ground truth u_(j) and an error δu_(j) of the j-th feature point on the U axis as shown in Equation 10 below, for example.

ū _(j) =u _(j) +δu _(j)  Equation 10:

By using Equation 11 below, for example, position coordinates of a feature point on a u axis may be calculated from an estimated 3D position coordinates û_(j) of the feature point.

$\begin{matrix} {{\hat{u}}_{j} = {\frac{\,^{c}{\hat{X}}_{j}}{\,^{c}{\hat{Z}}_{j}} = \frac{{\,^{c}X_{j}} + {\delta{\,^{c}X_{j}}}}{{\,^{c}Z_{j}} + {\delta^{c}Z_{j}}}}} & {{Equation}11} \end{matrix}$

Here, Equation 11 may indicate that the position coordinates of the j-th feature point on the u axis are calculated from the estimated 3D position coordinates of the j-th feature point, and an estimated value may be expressed as a sum of a ground truth and an error.

An actual measured value of a position of a feature point and a predicted value of a position of the feature point may be expressed as a sum of a ground truth and an error as shown in Equation 10, and then differentiated according to Equation 11, so that a result thereof may be expressed as Equation 12 below, for example.

u _ j -   c X ^ j c Z ^ j = u j + δ ⁢ u j -   c X j + δ ⁢   c X j   c Z j + δ c ⁢ Z j Equation ⁢ 12

In Equation 12, since u_(j) and

$\frac{\,^{c}X_{j}}{\,^{c}Z_{j}}$

are ground truth, a differentiation result of the two values may be zero.

u j = c X j   c Z j Equation ⁢ 13

As shown below, Equation 14 may be obtained by rearranging Equation 12 using Equation 13.

u _ j -   c X ^ j   c Z ^ j = δ ⁢ u j - 1   c Z ^ j ⁢ δ ⁢   c X j + c X ^ j c Z ^ j 2 ⁢ δ ⁢   c Z j + ( u j ⁢ δ c ⁢ Z j - δ ⁢   c X j ) ⁢ δ ⁢   c Z j   c Z ^ j 2 Equation ⁢ 14

In Equation 14, δ^(c)X_(j), δ^(c)Y_(j), and δ^(c)Z_(j) may correspond to an error of the 3D position coordinates (x, y, z) of the j-th feature point viewed at the captured image frame. δu_(j) may correspond to an error of the ground truth u_(j) measured at the U axis.

As shown in Equation 14, in a linearized EKF, a last term

$\frac{\left( {{u_{j}\delta^{c}Z_{j}} - {\delta{\,^{c}X_{j}}}} \right)\delta{\,^{c}Z_{j}}}{\,^{c}{{\hat{Z}}_{j}}^{2}}$

may correspond to a remainder obtained by performing a linear approximation.

An error excluding the last term

$\frac{\left( {{u_{j}\delta^{c}Z_{j}} - {\delta{\,^{c}X_{j}}}} \right)\delta{\,^{c}Z_{j}}}{\,^{c}{{\hat{Z}}_{j}}^{2}}$

may be expressed as the aforementioned measurement model of Equation 6 as shown in Equations 15 through 17 below, for example.

$\begin{matrix} {r_{u} = {{H_{u}x} + v_{u}}} & {{Equation}15} \end{matrix}$ $\begin{matrix} {{{\overset{\_}{u}}_{j} - \frac{\,^{c}{\hat{X}}_{j}}{\,^{c}{\hat{Z}}_{j}}} \cong {{\begin{bmatrix} {- \frac{1}{\,^{c}{\hat{Z}}_{j}}} & 0 & \frac{\,^{c}{\hat{X}}_{j}}{\,^{c}{{\hat{Z}}_{j}}^{2}} \end{bmatrix}\begin{bmatrix} \delta & {\,^{c}X_{j}} \\ \delta & {\,^{c}Y_{j}} \\ \delta & {\,^{c}Z_{j}} \end{bmatrix}} + {\delta u_{j}}}} & {{Equation}16} \end{matrix}$ $\begin{matrix} {\left. v_{u} \right.\sim{N\left( {0,{\sigma_{\delta u_{j}}}^{2}} \right)}} & {{Equation}17} \end{matrix}$

In Equations 15 through 17, x may correspond to a state error indicating a state of an estimation model H_(u) with respect to the U axis. r_(u) may correspond to an error with respect to the measured actual position ū_(j) of the j-th feature point on the U axis. v _(u) may correspond to measurement noise (a measurement error) on the U axis. σ_(δu) _(j) ² may correspond to a variance of the error with respect to the position of the j-th feature point on the U axis.

In general, the EKF may neglect a higher order term. However, when an error is not small, an additional estimation error may be generated due to an influence of the higher order term.

In an example, a higher order term of the linearized EKF may be approximated so as to be taken into consideration as noise of a measurement (e.g., a position of a feature point) which may also be referred to as “measurement noise.” Through this, the pose estimation apparatus of one or more embodiments may determine and/or implement a VIO robust to various motion situations to stably estimate a pose. In addition, an uncertainty of an estimation model may be taken into consideration so as to reduce additional noise which may be generated in a fast motion situation. Through this, the pose estimation apparatus of one or more embodiments may reduce dynamic jitter in comparison to the EKF.

The higher order portion

$\frac{\left( {{u_{j}\delta^{c}Z_{j}} - {\delta{\,^{c}X_{j}}}} \right)\delta{\,^{c}Z_{j}}}{\,^{c}{{\hat{Z}}_{j}}^{2}}$

of Equation 14 may be arranged as Equation 18 below, for example.

( u j ⁢ δ c ⁢ Z j - δ ⁢   c X j ) ⁢ δ ⁢   c Z j   c Z ^ j 2 = ( u _ j c ⁢ Z ^ j -   c X ^ j -   c Z ^ j ⁢ δ ⁢ u j ) ⁢ δ c ⁢ Z j   c Z ^ j 2 = r u , j c Z ^ j ⁢ δ ⁢   c Z j - δ ⁢ u j ⁢ δ ⁢   c Z j   c Z ^ j Equation ⁢ 18

For example, when it is assumed that the measurement noise is a Gaussian distribution, a value of the actual position ū_(j) of the j-th feature point received from the front-end 310 may not follow the Gaussian distribution, which may lead to a large error in practice. To prevent this, the error of Equation 18 may be taken into consideration as the measurement noise while neglecting a correlation. The measurement noise may correspond to an error of an estimation model generated in response to a depth-directional position of a feature point being incorrectly estimated.

The error of the estimation model may be taken into consideration as the measurement noise in various ways. For example, the model uncertainty calculator 450 may define a tuning parameter of the estimation model as α or α, β and then, arrange Equation 15 for updating the state variable as Equation 19 below, for example.

r _(u) =H _(u) x+v _(u) +g _(u)  Equation 19:

Measurement noise v_(u) may correspond to a variance of an error with respect to the position of the j-th feature point on the U axis as shown in Equation 20 below, for example.

v _(u) ˜N(0,σ_(δu) _(j) ²)  Equation 20:

In Equation 20, g_(u) may correspond to an uncertainty of the estimation model H_(u).

As shown below, Equation 21 represents the uncertainty of the estimation model along with the tuning parameters (α,β) of the estimation model. Also, in Equation 21, the aforementioned errors of Equation 18 are taken into consideration as noise proportional to the tuning parameter while neglecting the correlation.

$\begin{matrix} {{\left. {\mathcal{g}}_{u} \right.\sim{N\left( {0,{{^\circ}\left( {\alpha\frac{r_{u}}{\,^{c}{\hat{Z}}_{j}}{\sigma_{\delta}}^{c}Z_{j}} \right)}^{2}} \right)}}{}{or}{\left. {\mathcal{g}}_{u} \right.\sim{N\left( {0,{{{^\circ}\left( {\alpha\frac{r_{u}}{\,^{c}{\hat{Z}}_{j}}\sigma_{\delta}{\,^{c}Z_{j}}} \right)}^{2} + \left( {\beta\frac{{\,^{\sigma}\delta}u_{j}{\,^{\sigma}\delta}{\,^{c}Z_{j}}}{\,^{c}{\hat{Z}}_{j}}} \right)^{2}}} \right)}}} & {{Equation}21} \end{matrix}$

Like ū_(j), with respect to the actual position v _(j) of the j-th feature point on the V axis, the model uncertainty calculator 450 may take the uncertainty g_(u) of the estimation model into consideration as the measurement noise as shown in Equation 22 below, for example.

r _(v) =H _(v) x+v _(v) +g _(v)  Equation 22:

In Equation 22, x may correspond to a state error indicating a state of an estimation model H_(v) with respect to the V axis. r_(v) may correspond to an error with respect to the actual position v _(j) of the j-th feature point on the V axis. v_(v) may correspond to measurement noise (a measurement error) on the V axis. g_(v) denotes an uncertainty of the estimation model H_(v).

The measurement noise v_(v) may correspond to a variance of an error with respect to the position of the j-th feature point on the V axis as shown in Equation 23 below, for example.

v _(v) ˜N(0,σ_(δv) _(j) ²)  Equation 23:

The uncertainty g_(v) of the estimation model H_(v) may be taken into consideration as the measurement noise as shown in Equation 24.

$\begin{matrix} {{\left. {\mathcal{g}}_{v} \right.\sim{N\left( {0,{{^\circ}\left( {\alpha\frac{r_{v}}{\,^{c}{\hat{Z}}_{j}}{\sigma_{\delta}}^{c}Z_{j}} \right)}^{2}} \right)}}{or}{\left. {\mathcal{g}}_{v} \right.\sim{N\left( {0,{{{^\circ}\left( {\alpha\frac{r_{v}}{\,^{c}{\hat{Z}}_{j}}\sigma_{\delta}{\,^{c}Z_{j}}} \right)}^{2} + \left( {\beta\frac{{\,^{\sigma}\delta}v_{j}{\,^{\sigma}\delta}{\,^{c}Z_{j}}}{\,^{c}{\hat{Z}}_{j}}} \right)^{2}}} \right)}}} & {{Equation}24} \end{matrix}$

FIG. 5 is a flowchart illustrating an example of a method of estimating a pose. Hereinafter, operations may be performed in sequence but not necessarily be performed in sequence. For example, the order of operations may be changed, and two or more operations may be performed in parallel.

Referring to FIG. 5 , a pose estimation apparatus may estimate a pose of an electronic device through operations 510 through 550.

In operation 510, the pose estimation apparatus may track a position of a feature point extracted from image information including a plurality of image frames, the image information being received from an image sensor. For example, the pose estimation apparatus may extract a second feature point included in a current image frame among the image frames. The pose estimation apparatus may track a position of the second feature point through matching between a first feature point extracted from a previous image frame before the current image frame among the image frames and the second feature point.

In operation 520, the pose estimation apparatus may predict a current state variable of an estimation model estimating a pose of the electronic device based on motion information received from a motion sensor. Based on the motion information, the pose estimation apparatus may predict a current state variable of the estimation model estimating a pose including a position, a velocity, and an orientation of the electronic device. The estimation model may be, for example, an estimation model using a filter-based VIO, but is not limited thereto. The filter may be, for example, a Kalman filter-based filter based on a such as an EKF, a UKF, and an EIF. The current state variable may include a probability distribution corresponding to a current position of the feature point.

For example, in operation 520, based on the motion information and a previous state variable corresponding to a previous image frame among the image frames, the pose estimation apparatus may predict an error covariance of the previous state variable and a current state variable corresponding to a current image frame among the image frames.

In operation 530, the pose estimation apparatus may determine noise due to an uncertainty of the estimation model based on a residual between a first position of a feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable predicted in operation 520. A non-limiting example method of determining the noise due to an uncertainty of the estimation model by the pose estimation apparatus will be described in greater detail with reference to FIG. 6 .

In operation 540, the pose estimation apparatus may update the current state variable based on the current state variable predicted in operation 520, the position of the feature point tracked in operation 510, and the noise determined in operation 530. For example, the pose estimation apparatus may update the current state variable based on the current state variable, the error covariance of the previous state variable, the tracked position of the feature point, and the noise.

In operation 550, the pose estimation apparatus may estimate a pose of the electronic device based on the updated current state variable. The electronic device may include at least one of, for example, a wearable device including a smart glass and an HMD including an AR device, a VR device, and an MR device.

FIG. 6 is a flowchart illustrating an example of a method of determining noise. Hereinafter, operations may be performed in sequence but not necessarily be performed in sequence. For example, the order of operations may be changed, and at least two operations may be performed in parallel.

Referring to FIG. 6 , a pose estimation apparatus may determine noise due to an uncertainty of an estimation model through operations 610 and 620.

In operation 610, the pose estimation apparatus may calculate a residual between a first position of a feature point extracted from a current image frame among image frames and a second position of the feature point predicted based on a current state variable. For example, the pose estimation apparatus may calculate the residual according to Equation 6.

In operation 620, the pose estimation apparatus may determine noise due to an uncertainty of an estimation model based on the residual calculated in operation 610. The uncertainty of the estimation model may be determined based on an estimation covariance according to a Kalman filter-based SLAM technique, and it is merely an example. The noise due to the uncertainty of the estimation model may correspond to, for example, an error of the estimation model generated in response to a depth-directional position of the feature point being estimated incorrectly.

The pose estimation apparatus may determine the noise by expressing the residual between the first position of the feature point extracted from the current image frame and the second position of the feature point predicted based on the current state variable, as a sum of a ground-truth and an error as shown in Equation 10.

In addition, the pose estimation apparatus may determine the noise by approximating a result of expressing the residual as the sum of the ground-truth and the error, using a tuning parameter of the estimation model.

FIG. 7 is a flowchart illustrating another example of a method of estimating a pose. Hereinafter, operations may be performed in sequence but not necessarily be performed in sequence. For example, the order of operations may be changed, and at least two operations may be performed in parallel.

Referring to FIG. 7 , a pose estimation apparatus may estimate a pose of an electronic device through operations 710 through 790. The electronic device may include an image sensor and a motion sensor.

In operation 710, the pose estimation apparatus may receive image information including a plurality of image frames from the image sensor.

In operation 720, the pose estimation apparatus may extract a second feature point included in a current image frame among the image frames.

In operation 730, the pose estimation apparatus may track a position of a feature point through matching between a first feature point extracted from a previous image frame before the current image frame among the image frames and the second feature point.

In operation 740, the pose estimation apparatus may receive motion information of the electronic device from the motion sensor. The electronic device may be the pose estimation apparatus and also be a separate device distinguished from the pose estimation apparatus.

In operation 750, based on the motion information and a previous state variable corresponding to a previous image frame among the image frames, the pose estimation apparatus may predict an error covariance of the previous state variable and a current state variable corresponding to a current image frame among the image frames.

In operation 760, the pose estimation apparatus may calculate a residual between a first position of the first feature point extracted from the current image frame and a second position of the second feature point predicted based on the current state variable.

In operation 770, the pose estimation apparatus may determine noise due to an uncertainty of the estimation model based on the residual.

In operation 780, the pose estimation apparatus may update the current state variable based on the current state variable, the error covariance of the previous state variable, the tracked position of the feature point, and the noise.

In operation 790, the pose estimation apparatus may estimate a pose of the electronic device based on the updated current state variable.

FIG. 8 is a block diagram illustrating an example of a pose estimation apparatus. Referring to FIG. 8 , a pose estimation apparatus 800 may include at least one sensor 810 (e.g., one or more sensors), a processor 830 (e.g., one or more processors), a memory 850 (e.g., one or more memories), a communication interface 870, and a display 890. The at least one sensor 810, the processor 830, the memory 850, the communication interface 870, and the display 890 may be connected to each other through a communication bus 805.

The at least one sensor 810 may include an image sensor that senses image information including a plurality of image frames and a motion sensor that senses motion information of an electronic device.

The processor 830 may perform any one or more or all of the operations and methods described herein. The processor 830 may track a feature point by extracting the feature point from the image information. The processor 830 may predict a current state variable of an estimation model estimating a pose of the electronic device based on the motion information. The processor 830 may determine noise due to an uncertainty of the estimation model based on a residual between a first position of a feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable. The processor 830 may update the current state variable based on the current state variable, the position of the tracked feature point, and the noise. The processor 830 may estimate a pose of the electronic device based on the updated current state variable.

For example, when the pose estimation apparatus 800 is a wearable electronic device, the processor 830 may create virtual content based on the estimated pose. The virtual content may be, for example, the AR content 210 described above, and other various MR content.

In this example, the display 890 may display the virtual content created by the processor 830.

The processor 830 may execute a program and control the pose estimation apparatus 800. A program code executed by the processor 830 may be stored in the memory 850.

The memory 850 may store the image information and/or motion information sensed by the at least one sensor 810. The memory 850 may store at least one of the noise, the residual, and the current state variable of the estimation model predicted by the processor 830. In addition, the memory 850 may store the current state variable updated by the processor 830, the estimated pose, and/or the virtual content created by the processor 830.

As such, the memory 850 may store a variety of information generated in a processing operation of the processor 830 described above. Also, the memory 850 may store a variety of data and programs, and the like. The memory 850 may include, for example, a volatile memory or a nonvolatile memory. The memory 850 may include a massive storage medium such as a hard disk to store a variety of data.

The communication interface 870 may receive information sensed by the at least one sensor 810. The communication interface 870 may externally transmit the pose of the electronic device predicted by the processor 830.

The pose estimation apparatus 800 may selectively include the display 890. For example, when the pose estimation apparatus 800 is the wearable electronic device, the pose estimation apparatus 800 may match a virtual content object and a real object based on a pose of the wearable electronic device estimated by the processor 830 through the above-described process. In this example, the display 890 visualizes the virtual content object and the real object matched by the processor 830. The display 890 may be, for example, a display and/or a flexible display, but is not limited thereto. In this case, a result of the matching may be displayed on the display 890.

The pose estimation apparatus 800 may correspond to a device of various fields, for example, an advanced driver assistance system (ADAS), a head up display (HUD) device, a 3D digital information display (DID), a navigation device, a neuromorphic device, a 3D mobile device, a smartphone, a smart television (TV), a smart vehicle, an Internet of things (IoT) device, a medical device, a measurement device, and the like. The 3D mobile device may be understood as concepts including, for example, a display device, an HMD, an FMD, and AR glasses for displaying the AR, the VR, and/or the MR.

In addition, the processor 830 may perform at least one of the methods described above with reference to FIGS. 1 through 7 or a technique corresponding to at least one of the methods. The processor 830 may be a hardware-implemented pose estimation apparatus having a circuit that is physically structured to execute desired operations. For example, the desired operations may include code or instructions included in a program. The pose estimation apparatus implemented as hardware may include, for example, a microprocessor, a central processing unit (CPU), a graphics processing unit (GPU), a processor core, a multi-core processor, a multiprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), and a neural network processing unit (NPU).

The electronic devices, displays, pose estimation apparatuses, image sensors, motion sensors, feature point extracting and tracking parts, motion information acquirers, state predictors, measurement updaters, model uncertainty calculators, sensors, processors, memories, communication interfaces, displays, communication buses, electronic device 110, display 115, pose estimation apparatus 400, image sensor 401, motion sensor 403, feature point extracting and tracking part 410, motion information acquirer 420, state predictor 430, measurement updater 440, model uncertainty calculator 450, pose estimation apparatus 800, sensor 810, processor 830, memory 850, communication interface 870, display 890, communication bus 805, and other apparatuses, units, modules, devices, and components described herein with respect to FIGS. 1-8 are implemented by or representative of hardware components. Examples of hardware components that may be used to perform the operations described in this application where appropriate include controllers, sensors, generators, drivers, memories, comparators, arithmetic logic units, adders, subtractors, multipliers, dividers, integrators, and any other electronic components configured to perform the operations described in this application. In other examples, one or more of the hardware components that perform the operations described in this application are implemented by computing hardware, for example, by one or more processors or computers. A processor or computer may be implemented by one or more processing elements, such as an array of logic gates, a controller and an arithmetic logic unit, a digital signal processor, a microcomputer, a programmable logic controller, a field-programmable gate array, a programmable logic array, a microprocessor, or any other device or combination of devices that is configured to respond to and execute instructions in a defined manner to achieve a desired result. In one example, a processor or computer includes, or is connected to, one or more memories storing instructions or software that are executed by the processor or computer. Hardware components implemented by a processor or computer may execute instructions or software, such as an operating system (OS) and one or more software applications that run on the OS, to perform the operations described in this application. The hardware components may also access, manipulate, process, create, and store data in response to execution of the instructions or software. For simplicity, the singular term “processor” or “computer” may be used in the description of the examples described in this application, but in other examples multiple processors or computers may be used, or a processor or computer may include multiple processing elements, or multiple types of processing elements, or both. For example, a single hardware component or two or more hardware components may be implemented by a single processor, or two or more processors, or a processor and a controller. One or more hardware components may be implemented by one or more processors, or a processor and a controller, and one or more other hardware components may be implemented by one or more other processors, or another processor and another controller. One or more processors, or a processor and a controller, may implement a single hardware component, or two or more hardware components. A hardware component may have any one or more of different processing configurations, examples of which include a single processor, independent processors, parallel processors, single-instruction single-data (SISD) multiprocessing, single-instruction multiple-data (SIMD) multiprocessing, multiple-instruction single-data (MISD) multiprocessing, and multiple-instruction multiple-data (MIMD) multiprocessing.

The methods illustrated in FIGS. 1-8 that perform the operations described in this application are performed by computing hardware, for example, by one or more processors or computers, implemented as described above executing instructions or software to perform the operations described in this application that are performed by the methods. For example, a single operation or two or more operations may be performed by a single processor, or two or more processors, or a processor and a controller. One or more operations may be performed by one or more processors, or a processor and a controller, and one or more other operations may be performed by one or more other processors, or another processor and another controller. One or more processors, or a processor and a controller, may perform a single operation, or two or more operations.

Instructions or software to control computing hardware, for example, one or more processors or computers, to implement the hardware components and perform the methods as described above may be written as computer programs, code segments, instructions or any combination thereof, for individually or collectively instructing or configuring the one or more processors or computers to operate as a machine or special-purpose computer to perform the operations that are performed by the hardware components and the methods as described above. In one example, the instructions or software include machine code that is directly executed by the one or more processors or computers, such as machine code produced by a compiler. In another example, the instructions or software includes higher-level code that is executed by the one or more processors or computer using an interpreter. The instructions or software may be written using any programming language based on the block diagrams and the flow charts illustrated in the drawings and the corresponding descriptions in the specification, which disclose algorithms for performing the operations that are performed by the hardware components and the methods as described above.

The instructions or software to control computing hardware, for example, one or more processors or computers, to implement the hardware components and perform the methods as described above, and any associated data, data files, and data structures, may be recorded, stored, or fixed in or on one or more non-transitory computer-readable storage media. Examples of a non-transitory computer-readable storage medium include read-only memory (ROM), random-access programmable read only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), flash memory, non-volatile memory, CD-ROMs, CD-Rs, CD+Rs, CD-RWs, CD+RWs, DVD-ROMs, DVD-Rs, DVD+Rs, DVD-RWs, DVD+RWs, DVD-RAMs, BD-ROMs, BD-Rs, BD-R LTHs, BD-REs, blue-ray or optical disk storage, hard disk drive (HDD), solid state drive (SSD), flash memory, a card type memory such as multimedia card micro or a card (for example, secure digital (SD) or extreme digital (XD)), magnetic tapes, floppy disks, magneto-optical data storage devices, optical data storage devices, hard disks, solid-state disks, and any other device that is configured to store the instructions or software and any associated data, data files, and data structures in a non-transitory manner and provide the instructions or software and any associated data, data files, and data structures to one or more processors or computers so that the one or more processors or computers can execute the instructions. In one example, the instructions or software and any associated data, data files, and data structures are distributed over network-coupled computer systems so that the instructions and software and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by the one or more processors or computers.

While this disclosure includes specific examples, it will be apparent after an understanding of the disclosure of this application that various changes in form and details may be made in these examples without departing from the spirit and scope of the claims and their equivalents. The examples described herein are to be considered in a descriptive sense only, and not for purposes of limitation. Descriptions of features or aspects in each example are to be considered as being applicable to similar features or aspects in other examples. Suitable results may be achieved if the described techniques are performed in a different order, and/or if components in a described system, architecture, device, or circuit are combined in a different manner, and/or replaced or supplemented by other components or their equivalents. 

What is claimed is:
 1. A processor-implemented method with pose estimation, the method comprising: tracking a position of a feature point extracted from image information comprising a plurality of image frames, the image information being received from an image sensor; predicting a current state variable of an estimation model for determining a pose of an electronic device, based on motion information received from a motion sensor; determining noise due to an uncertainty of the estimation model based on a residual between a first position of the feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable; updating the current state variable based on the current state variable, the tracked position of the feature point, and the noise; and determining the pose of the electronic device based on the updated current state variable.
 2. The method of claim 1, wherein the determining of the noise comprises: determining the residual between the first position of the feature point extracted from a current image frame among the image frames and the second position of the feature point predicted based on the current state variable; and determining the noise due to the uncertainty of the estimation model based on the residual.
 3. The method of claim 2, wherein the determining of the noise comprises determining the noise by expressing, as a sum of a ground-truth and an error, the residual between the first position of the feature point extracted from the current image frame and the second position of the feature point predicted based on the current state variable.
 4. The method of claim 3, wherein the determining of the noise comprises determining the noise by approximating a result of expressing the residual as the sum of the ground-truth and the error, using a tuning parameter of the estimation model.
 5. The method of claim 1, wherein the uncertainty of the estimation model is determined using an estimation covariance according to a simultaneous localization and mapping (SLAM) technique based on an extended Kalman filter.
 6. The method of claim 1, wherein the predicting of the current state variable comprises predicting, based on the motion information and a previous state variable corresponding to a previous image frame among the image frames, an error covariance of the previous state variable and the current state variable corresponding to a current image frame among the image frames.
 7. The method of claim 6, wherein the updating of the current state variable comprises updating the current state variable based on the current state variable, the error covariance of the previous state variable, the tracked position of the feature point, and the noise.
 8. The method of claim 1, wherein the tracking of the position of the feature point comprises: extracting a second feature point included in a current image frame among the image frames; and tracking a position of the second feature point through matching between a first feature point extracted from a previous image frame before the current image frame among the image frames and the second feature point.
 9. The method of claim 1, wherein the estimation model comprises an estimation model using a filter-based visual-inertial odometry (VIO).
 10. The method of claim 1, wherein the electronic device comprises either one or both of: a wearable device comprising a smart glass; and a head-mounted device (HMD) comprising any one or any combination of any two or more of an augmented reality (AR) device, a virtual reality (VR) device, and a mixed reality (MR) device.
 11. A non-transitory computer-readable storage medium storing instructions that, when executed by one or more processors, configure the one or more processors to perform the method of claim
 1. 12. An apparatus with pose estimation, the apparatus comprising: an image sensor configured to sense image information comprising a plurality of image frames; a motion sensor configured to sense motion information of an electronic device; and one or more processors configured to: track a feature point by extracting the feature point from the image information; predict a current state variable of an estimation model for determining a pose of the electronic device based on the motion information; determine noise due to an uncertainty of the estimation model based on a residual between a first position of the feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable; update the current state variable based on the current state variable, a position of the tracked feature point, and the noise; and determine the pose of the electronic device based on the updated current state variable.
 13. The apparatus of claim 12, wherein, for the determining of the noise, the one or more processors are configured to: determine the residual between the first position of the feature point extracted from a current image frame among the image frames and the second position of the feature point predicted based on the current state variable; and determine the noise due to the uncertainty of the estimation model based on the residual.
 14. The apparatus of claim 13, wherein, for the determining of the noise, the one or more processors are configured to determine the noise by expressing, as a sum of a ground-truth and an error, the residual between the first position of the feature point extracted from the current image frame and the second position of the feature point predicted based on the current state variable.
 15. The apparatus of claim 14, wherein, for the determining of the noise, the one or more processors are configured to determine the noise by approximating a result of expressing the residual as the sum of the ground-truth and the error, using a tuning parameter of the estimation model.
 16. The apparatus of claim 12, wherein the uncertainty of the estimation model is determined using an estimation covariance according to a simultaneous localization and mapping (SLAM) technique based on an extended Kalman filter.
 17. The apparatus of claim 12, wherein, for the predicting of the current state variable, the one or more processors are configured to predict, based on the motion information and a previous state variable corresponding to a previous image frame among the image frames, an error covariance of the previous state variable and the current state variable corresponding to a current image frame among the image frames.
 18. The apparatus of claim 17, wherein, for the updating of the current state variable, the one or more processors are configured to update the current state variable based on the current state variable, the error covariance of the previous state variable, the position of the tracked feature point, and the noise.
 19. The apparatus of claim 12, wherein, for the tracking of the position of the feature point, the one or more processors are configured to: extract a second feature point included in a current image frame among the image frames; and track a position of the second feature point through matching between a first feature point extracted from a previous image frame before the current image frame among the image frames and the second feature point.
 20. The apparatus of claim 12, wherein the estimation model comprises an estimation model using a filter-based visual-inertial odometry (VIO).
 21. The apparatus of claim 12, wherein the electronic device comprises either one or both of: a wearable device comprising a smart glass; and a head-mounted device (HMD) comprising any one or any combination of any two or more of an augmented reality (AR) device, a virtual reality (VR) device, and a mixed reality (MR) device.
 22. A wearable electronic device comprising: an image sensor configured to sense image information comprising a plurality of image frames; a motion sensor configured to sense motion information of the wearable electronic device; one or more processors configured to: track a feature point by extracting the feature point from the image information; predict a current state variable of an estimation model for determining a pose of the wearable electronic device based on the motion information; determine noise due to an uncertainty of the estimation model based on a residual between a first position of the feature point extracted from the image frames and a second position of the feature point predicted based on the current state variable; update the current state variable based on the current state variable, a position of the tracked feature point, and the noise; determine the pose of the wearable electronic device based on the updated current state variable; and generate virtual content based on the determined pose; and a display configured to display the virtual content.
 23. A processor-implemented method with pose estimation, the method comprising: predicting a current state variable of an estimation model for determining a pose of an electronic device; determining noise due to an uncertainty of the estimation model based on a residual between a first position of a feature point extracted from image frames and a second position of the feature point predicted based on the current state variable; updating the current state variable based on the noise; and determining the pose of the electronic device based on the updated current state variable.
 24. The method of claim 23, wherein the current state variable comprises a state variable corresponding to a motion sensor and a state variable corresponding to an image sensor.
 25. The method of claim 24, wherein the state variable corresponding to the motion sensor comprises any one or any combination of any two or more of an orientation error of an image frame among the image frames, a bias error of the motion sensor, a velocity error, an acceleration bias error, and a position error.
 26. The method of claim 24, wherein the state variable corresponding to the image sensor comprises an error of a position of a feature point viewed at an image frame of the image frames. 